home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / DirectShow_WinXP / VMR / TxtPlayer / resource.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  3KB  |  91 lines

  1. //------------------------------------------------------------------------------
  2. // File: resource.h
  3. //
  4. // Desc: DirectShow sample code - resource header file for TxtPlayer sample
  5. //
  6. // Copyright (c) 1994 - 2001, Microsoft Corporation.  All rights reserved.
  7. //------------------------------------------------------------------------------
  8.  
  9. // These are indexes used by the toolbar.
  10. //
  11. #define IDC_STATIC                      -1
  12.  
  13. #define IDX_SEPARATOR                   -1
  14. #define IDX_1                           0
  15. #define IDX_2                           1
  16. #define IDX_3                           2
  17. #define IDX_4                           3
  18. #define IDX_5                           4
  19. #define IDX_6                           5
  20. #define IDX_7                           6
  21. #define IDX_8                           7
  22. #define IDX_9                           8
  23. #define IDX_10                          9
  24. #define IDX_11                          10
  25. #define IDX_12                          11
  26.  
  27. #define DEFAULT_TBAR_SIZE               10
  28. #define NUMBER_OF_BITMAPS               12
  29.  
  30. #define ID_STATUSBAR                    8
  31. #define ID_TOOLBAR                      9
  32. #define ID_TRACKBAR                     10
  33.  
  34. // Dialogs
  35. #define IDD_ABOUTBOX                    200
  36.  
  37. #define IDR_MAIN_MENU                   101
  38. #define IDR_TOOLBAR                     102
  39. #define IDR_VIDEOCD_ICON                103
  40. #define IDR_ACCELERATOR                 104
  41.  
  42. #define IDM_FILE_OPEN                   40001
  43. #define IDM_FILE_CLOSE                  40002
  44. #define IDM_FILE_EXIT                   40003
  45.  
  46. #define IDM_HELP_ABOUT                  40102
  47.  
  48. // Different time formats
  49. #define IDM_TIME                        40150
  50. #define IDM_FRAME                       40151
  51. #define IDM_FIELD                       40152
  52. #define IDM_SAMPLE                      40153
  53. #define IDM_BYTES                       40154
  54.  
  55. // Toolbar commands
  56. #define IDM_MOVIE_STOP                  40010
  57. #define IDM_MOVIE_PLAY                  40011
  58. #define IDM_MOVIE_PREVTRACK             40012
  59. #define IDM_MOVIE_PAUSE                 40013
  60. #define IDM_MOVIE_SKIP_FORE             40014
  61. #define IDM_MOVIE_SKIP_BACK             40015
  62. #define IDM_FULL_SCREEN                 40017
  63. #define IDM_MOVIE_STEP                  40019
  64.  
  65.  
  66. #define MENU_STRING_BASE                1000
  67.  
  68.         // File
  69. #define STR_FILE_OPEN           IDM_FILE_OPEN  + MENU_STRING_BASE
  70. #define STR_FILE_CLOSE          IDM_FILE_CLOSE + MENU_STRING_BASE
  71. #define STR_FILE_EXIT           IDM_FILE_EXIT  + MENU_STRING_BASE
  72.  
  73.         // Help Menu            HELP_MENU_BASE
  74. #define STR_HELP_ABOUT          IDM_HELP_ABOUT    + MENU_STRING_BASE
  75.  
  76.         // System Menu
  77. #define STR_SYSMENU_RESTORE     1800
  78. #define STR_SYSMENU_MOVE        1801
  79. #define STR_SYSMENU_MINIMIZE    1802
  80. #define STR_SYSMENU_CLOSE       1803
  81. #define STR_SYSMENU_MAXIMIZE    1804
  82. #define STR_SYSMENU_TASK_LIST   1805
  83.  
  84. #define STR_FILE_FILTER         2000
  85. #define STR_APP_TITLE           2001
  86. #define STR_APP_TITLE_LOADED    2002
  87.  
  88.  
  89. #define MPEG_CODEC_BASE         4000
  90.  
  91.